package com.huanshi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huanshi.entity.UmsAddress;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 幻世
 * @since 2023-10-10
 */
public interface UmsAddressService extends IService<UmsAddress> {

    List<UmsAddress> getByUserId(Integer userId);

    UmsAddress getDefaultAddress(Long userId);

    Integer updateFlag(Long addressId, Long userId);
}
